home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / mc / syntax / makefile.syntax < prev    next >
Makefile  |  2009-10-25  |  2KB  |  72 lines

  1. context default
  2.     keyword $$ brightcyan
  3.     keyword $(*) yellow
  4.     keyword ${*} brightgreen
  5. # GNU Makefiles
  6.     keyword whole linestart define magenta
  7.     keyword whole linestart endef magenta
  8.     keyword whole linestart include magenta
  9.     keyword whole linestart ifdef magenta
  10.     keyword whole linestart ifndef magenta
  11.     keyword whole linestart endif magenta
  12.     keyword whole linestart if magenta
  13.     keyword whole linestart ifeq magenta
  14.     keyword whole linestart ifneq magenta
  15.     keyword whole linestart else magenta
  16. # BSD Makefiles
  17.     keyword whole linestart .\[\s\t\]elif magenta
  18.     keyword whole linestart .\[\s\t\]else magenta
  19.     keyword whole linestart .\[\s\t\]endfor magenta
  20.     keyword whole linestart .\[\s\t\]endif magenta
  21.     keyword whole linestart .\[\s\t\]for magenta
  22.     keyword whole linestart .\[\s\t\]if magenta
  23.     keyword whole linestart .\[\s\t\]include magenta
  24.     keyword whole linestart .\[\s\t\]undef magenta
  25.  
  26.     keyword linestart \t lightgray red
  27.     keyword whole .PHONY white
  28.     keyword whole .SUFFIXES white
  29.     keyword whole .DEFAULT white
  30.     keyword whole .PRECIOUS white
  31.     keyword whole .INTERMEDIATE white
  32.     keyword whole .SECONDARY white
  33.     keyword whole .DELETE_ON_ERROR white
  34.     keyword whole .IGNORE white
  35.     keyword whole .LOW_RESOLUTION_TIME white
  36.     keyword whole .SILENT white
  37.     keyword whole .EXPORT_ALL_VARIABLES white
  38.     keyword whole .NOTPARALLEL white
  39.     keyword whole .NOEXPORT white
  40.     keyword = white
  41.     keyword : yellow
  42.     keyword \\\n yellow
  43. # this handles strange cases like @something@@somethingelse@ properly
  44.     keyword whole @+@ brightmagenta black
  45.     keyword @+@ brightmagenta black
  46.  
  47. # comment
  48. context linestart # \n brown
  49.     spellcheck
  50.     keyword whole @+@ brightmagenta black
  51.     keyword @+@ brightmagenta black
  52.  
  53. # right part of an assignment
  54. context exclusive = \n brightcyan
  55.     keyword \\\n yellow
  56.     keyword $$ brightcyan
  57.     keyword $(*) yellow
  58.     keyword ${*} brightgreen
  59.     keyword linestart \t lightgray red
  60.     keyword whole @+@ brightmagenta black
  61.     keyword @+@ brightmagenta black
  62.  
  63. # shell code
  64. context exclusive linestart \t \n
  65.     keyword \\\n yellow
  66.     keyword $$ brightcyan
  67.     keyword $(*) yellow
  68.     keyword ${*} brightgreen
  69.     keyword linestart \t lightgray red
  70.     keyword whole @+@ brightmagenta black
  71.     keyword @+@ brightmagenta black
  72.